import request from '@/utils/request'

// 添加
export function add(params: any) {
    return request.post({ url: '/banner.banner/add', params })
}

// 详情
export function bannerDetail(params: any) {
    return request.get({ url: '/banner.banner/detail', params })
}

// 列表
export function bannerList(params: any) {
    return request.get({ url: '/banner.banner/lists', params })
}

// 删除
export function deleteBanner(params: any) {
    return request.post({ url: '/banner.banner/delete', params })
}

// 编辑
export function bannerEdit(params: any) {
    return request.post({ url: '/banner.banner/edit', params })
}
